package designPatterns.P04_建造者模式_Builder.第2版_使用建造者.builders;

public class CommonHouseBuilder extends HouseBuilder {

    @Override
    public void buildBase() {
        house.setBase("普通房子地基");
        System.out.println("普通房子地基打5m");
    }

    @Override
    public void buildWalls() {
        house.setWalls("普通房子墙");
        System.out.println("普通房子砌墙10cm");
    }

    @Override
    public void buildRoof() {
        house.setRoof("普通房子顶");
        System.out.println("普通房子封顶");
    }
}
